home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tclX-6.4 / help / libraries / autoload < prev    next >
Encoding:
Text File  |  1992-12-17  |  831 b   |  20 lines

  1.  
  2.  
  3.           autoload file proc1 [..procN]
  4.  
  5.           The autoload procedure, defined in TclInit.tcl, allows the
  6.           Tcl programmer to name one or more procedures and the file
  7.           they are defined in.  After autoload has been executed to
  8.           inform Tcl of the presence of them, a subsequent attempt to
  9.           execute one of the procedures will cause the corresponding
  10.           file to be loaded transparently prior to executing the
  11.           function.  If file is a name without directories, then the
  12.           path is searched to locate the file.  For example,
  13.           executing:
  14.  
  15.                autoload showproc.tcl showproc showprocs
  16.  
  17.           tells Tcl to automatically load the file showproc.tcl the
  18.           first time in the current session that either showproc or
  19.           showprocs is executed.
  20.